import { createApp } from 'vue'
import App from './App.vue'
import router from '@/router'
import 'lib-flexible/flexible.js'

// vant
import Vant from 'vant'
import 'vant/lib/index.css'

// 引入vconsole
// import Vconsole from 'vconsole'
// const vConsole = new Vconsole()

router.beforeEach((to) => {
    document.title = to.meta.title;
})

const app = createApp(App)
    // app.use(vConsole)

app.use(Vant)


app.use(router)
app.mount('#app')